﻿CREATE TABLE [PR].[DocInfo] (
    [DocTypeId]     INT           NOT NULL,
    [NextDocNumber] INT           CONSTRAINT [DF_DocInfo_NextDocNumber] DEFAULT ((1)) NULL,
    [Note]          VARCHAR (250) NULL,
    [MD]            DATETIME      CONSTRAINT [DF__DocInfo__MD__04659998] DEFAULT (getdate()) NOT NULL,
    [MW]            VARCHAR (50)  CONSTRAINT [DF__DocInfo__MW__0559BDD1] DEFAULT (suser_sname()) NOT NULL,
    CONSTRAINT [PK_DocInfo] PRIMARY KEY CLUSTERED ([DocTypeId] DESC)
);

